package com.example.data.factory.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.data.factory.common.Dto.*;
import com.example.data.factory.common.result.R;
import com.example.data.factory.entity.entity.Dict;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 码表 服务类
 * </p>
 *
 * @author lhy
 * @since 2025-03-03
 */
public interface DictService extends IService<Dict> {

    R<Dict> search(SearchDictDto searchDictDto);

    R<Dict> insert(InsertDictDto insertDictDto, HttpServletRequest request);

    R<Dict> Update(UpdateDictDto updateDictDto);

    R<Dict> Delete(DeleteDictDto deleteDictDto);

    R<Dict> UpdateStatus(UpdateDictStatusDto updateDictStatusDto);

    R<Dict> searchdetail(SearchDictDetaildTO searchDictDetaildTO);

    R<Dict> updatestatusbatch(List<UpdateDictStatusDto> updateDictStatusDtos);

    R<Dict> searchs();
}
